import os
#
import site

site.addsitedir('E:\\python_test\\\sadTalker\\__pypackages__\\3.10\\lib')
ffmpeg_path = 'E:\\AI-Starter\\EZ-AI-Starter-1.0\\envs\\ffmpeg\\bin'
if not os.path.exists(ffmpeg_path):
    raise Exception("ffmpeg not found")

current_path = os.path.dirname(os.path.abspath(__file__))
os.environ["TRANSFORMERS_CACHE"] = os.path.join(current_path, "transformers-cache")

os.environ["PATH"] = ffmpeg_path + ";" + os.environ["PATH"]

from launcher import start

start()
